package zack.project.domain.activity.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author A1793
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SkuProductEntity {

    /**
     * 活动ID
     */
    private Long activityId;

    private Long sku;

    private Long activityCountId;

    private Integer stockCount;

    private Integer stockCountSurplus;

    private BigDecimal payAmount;

    private ActivityCount activityCount;

    @Data
    public static class ActivityCount{

        private Integer totalCount;

        private Integer dayCount;

        private Integer monthCount;
    }
}
